# # -*- coding: UTF-8 -*-
# """=================================================
# @Project -> File ：flaskProject -> web_html
# @IDE ：PyCharm
# @Author ：Mr.Soren
# @Date ：2024/10/23/17:19
# @Desc ：
# =================================================="""
# from flask import Blueprint,current_app
#
# html = Blueprint("web_html", __name__)
#
# @html.route("/<re(r'.*'):html_file_name>")
# def get_html(html_file_name):
#     if not html_file_name:
#         html_file_name = "index.html"
#     if html_file_name != "favicon.ico":
#         html_file_name = "home/"+html_file_name
#     # print(1)
#     # print(html_file_name)
#     return current_app.send_static_file(html_file_name)